package com.seaboxdata.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seaboxdata.entity.CirclesDepartment;
import com.seaboxdata.entity.EpidemicDataInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author
 * @create 2021-01-04 11:53
 **/
@Mapper
public interface EpidemicDataInfoDao extends BaseMapper<EpidemicDataInfo> {

    @DS("subject")
    Integer getPeopleNumber();

    @DS("subject")
    Integer getHstestNumber(@Param("date") Date date);

    @DS("subject")
    Integer getYmjzNumber();

    //越境司机预警数据
    @DS("subject")
    List<EpidemicDataInfo> getCrossDriverInfo(@Param("dateDt") String dateDt);


}
